package com.tian.core.bean;

public class Condition {
	public static final String ASC = "asc";
	public static final String DESC = "desc";
	
	private String name;//属性名
	private Object value;//属性值 
	private ConditionType type = ConditionType.PROPERTY;
	private ConditionOperate operate = ConditionOperate.LIKE;
	
	//getter & setter
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Object getValue() {
		return value;
	}
	public void setValue(Object value) {
		this.value = value;
	}
	public ConditionType getType() {
		return type;
	}
	public void setType(ConditionType type) {
		this.type = type;
	}
	public ConditionOperate getOperate() {
		return operate;
	}
	public void setOperate(ConditionOperate operate) {
		this.operate = operate;
	}
	
}
